package cn.edu.imau.zy.common.core.entity.examination;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import cn.edu.imau.zy.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.Date;
import java.util.Map;
import java.util.HashMap;
import java.math.BigDecimal;
import cn.edu.imau.zy.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 试卷设置对象 e_paper_info_setting
 * 
 * @author xsc
 * @date 2021-12-04
 */

@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("e_paper_info_setting")
public class EPaperInfoSetting implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 所属试卷id */
    @Excel(name = "所属试卷id")
    private String testPaperInfoId;

    /** 提交后是否立即出分
1. 批改后出分
2. 立即显示分数 */
    @Excel(name = "提交后是否立即出分 1. 批改后出分 . 立即显示分数")
    private Integer commitAfterType;

    /** 是否显示成绩排名榜 */
    @Excel(name = "是否显示成绩排名榜")
    private Integer showMarkSort;

    /** 是否显示学员成绩排名 */
    @Excel(name = "是否显示学员成绩排名")
    private Integer showStudentSort;

    /** $column.columnComment */
    @Excel(name = "是否显示学员成绩排名", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd")
    private Date createDate;

    /** $column.columnComment */
    @Excel(name = "是否显示学员成绩排名", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd")
    private Date updateDate;

    /** 参考次数 */
    @Excel(name = "参考次数")
    private Integer referenceNumber;

    /** 开始时间 */
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd")
    private Date endTime;

    /** 1.指定时间段 2. 永久有效 */
    @Excel(name = "1.指定时间段 2. 永久有效")
    private Integer examType;


    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();

}
